﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DFGK_WMS.Context.Migrations
{
    public partial class 移库单增加仓库字段 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "ToStockCode",
                table: "T_TransferBinOrder",
                type: "nvarchar(30)",
                maxLength: 30,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ToStockName",
                table: "T_TransferBinOrder",
                type: "nvarchar(30)",
                maxLength: 30,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ToStockCode",
                table: "T_TransferBinOrder");

            migrationBuilder.DropColumn(
                name: "ToStockName",
                table: "T_TransferBinOrder");
        }
    }
}
